package group.hhsw.purchase.utils;

public class CalculateInterest {

    public static Float calculate(Float rate, Long invest, Integer months) {
        return rate * (months / 12f) * invest;
    }
}
